package com.chuangtie.tlcms.saturn.application.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;

/**
 * @Author: 廖智威
 * @CreateTime: 2024-07-09
 */
@Data
@ApiModel
public class PropertyQueryCommand {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "起始页", required = true)
    @NotNull(message = "不能为空")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "一页多少条", required = true)
    @NotNull(message = "不能为空")
    private Integer pageSize = 10;
}
